package com.lin.learning.questionmanagement.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lin.learning.questionmanagement.dto.AddTeacherDto;
import com.lin.learning.questionmanagement.dto.UpdateTeacherDto;
import com.our.learning.infrastructure.po.Teacher;
import com.our.learning.infrastructure.pojo.ResponseResult;

public interface TeacherService extends IService<Teacher> {
    ResponseResult addTeacher(AddTeacherDto addTeacherDto);
    ResponseResult deleteTeacher(Integer id);
    ResponseResult updateTeacher(UpdateTeacherDto updateTeacherDto);
    ResponseResult getTeacherById(Integer id);
    //ResponseResult teacherList(Integer pageNum, Integer pageSize);

    ResponseResult getTeacherByName(String name);
}
